﻿using System.Collections.Generic;
using System.Linq;
using System.Text;

static class TripleExtensions
{
    public static string AsString(this IEnumerable<Triple> input)
    {
        StringBuilder result = new StringBuilder();
        input.ToList().ForEach(x=>result.Append("{"+x+"}"));
        return result.ToString();        
    }
}